﻿using LetsTestAPI.EDM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LetsTestAPI.Models
{
    public class CandidateModel
    {
        public UserModel user;

        public DateTime BirthDate;

        public string Adress, Schools, Experience, Skills, Courses, Remarks;

        public bool IsRecruitmentOpen;

        public CandidateModel(Candidate candidate)
        {
            this.user = new UserModel(candidate.User);
            this.BirthDate = candidate.BirthDate;
            this.Adress = candidate.Adress;
            this.Experience = candidate.Experience;
            this.Skills = candidate.Skills;
            this.Courses = candidate.Courses;
            this.Remarks = candidate.Remarks;
        }
    }
}